namespace oms.Shared.Authentication;

/// <summary>
/// 认证服务接口
/// </summary>
public interface IAuthService
{
    Task<LoginResult> LoginAsync(string userName, string password, string device, string loginIp);
    Task<Result> LogoutAsync(string sessionId);
    Task<SessionValidateResult> ValidateSessionAsync(string sessionId);
    Task<List<UserSession>> GetUserSessionsAsync(long userId);
}